package com.xyy.saas.payment.merchant.core.vo;

import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class PaymentAuthQueryVo {
    /**
     * 成功
     */
    public static String SUCCESS = "0";
    /**
     * 失败
     */
    public static String FAIL = "1";
    /**
     * 待确认
     */
    public static String UNKNOWN = "2";

    private String status;
    private String message;

    /**
     * 是否成功
     */
    public boolean isSuccess() {
        return SUCCESS.equals(status);
    }
}
